Title: �Who Supports Political Violence?�
Authors:
Miles T. Armaly, University of Mississippi
Adam M. Enders, University of Louisville

There are 11 files (not including the readme file or log file) necessary to replicate all analyses:
1. Replication code.do
2. Regression tree analysis.R
3. Figures.R
4. Data, February 2020.csv
5. correlations.csv
6. violence data.dta
7. violence data 2.dta
8. Justified Predictions.dta
9. Justified Marginal Effects.dta
10. Justified Predictions, NBREG.dta
11. Justified Marginal Effects, NBREG

NOTE: All analyses were executed on a MacBook Pro running Catalina 10.15.7. Stata analyses were executed using Stata/SE 15.1. CART analysis and figures were produced using RStudio 1.3.1093, using R 3.6 (Mac OS). 

Replication code.do
This Stata .do file contains the code necessary to produce the tables in the main text and supplemental appendix. Requires �Data, February 2020.csv�

Figures.R
This R script contains the code to create all figures in the main text and supplemental appendix, save for the CART figures. Requires �correlations.csv�, �violence data.dta�, �Justified Predictions.dta�, �Justified Marginal Effects.dta�, �Justified Predictions, NBREG.dta�, �Justified Marginal Effects, NBREG.dta�

Regression tree analysis.R
This R script contains the code to produce the CART model and the associated figure. Requires �violence data 2.dta�

